package br.com.prime.control;

import java.util.ArrayList;
import java.util.List;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name = "galeriaBean")
@SessionScoped
public class GaleriaBean {
	
	private List<String> images;
	
    @PostConstruct  
    public void init() {  
        images = new ArrayList<String>();  
        for(int i=1; i<=7; i++) {  
            images.add("galeria" + i + ".jpg");  
        }  
    }  

	public List<String> getImages() {
		return images;
	}

	public void setImages(List<String> images) {
		this.images = images;
	} 
}